<!-- 快捷备品 -->

<template>
  <div>
    <div class="MaintainManage-RightQuick-btn" @click="toOpenOut">
      <div><img :src="MAP.IMG" /></div>
      <span>{{ MAP.TEXT }}</span>
    </div>

    <MyModal />

    <StockModal />
  </div>
</template>

<script>
// ============================== 导入依赖 ============================== //

import CORE from '@/CORE'
import MySearch from '@admin/views/Maintain/Backup/BackupStock/MySearch'
import store from './store'

// ============================== 导出组件 ============================== //

export default {
  /**
   * 名称定义 (实际使用名称)
   */
  name: 'QuickBackup',

  /**
   * 混入列表 (配置选项合并)
   */
  mixins: [CORE.mixStore(store), CORE.mixApiMenu('新增出库')],

  /**
   * 组件导入 (Abc.vue + Abc/index.vue)
   */
  ...CORE.components(require.context('@admin/views/Maintain/Backup/BackupStock', true, /vue$/)),

  /**
   * 本地方法 (轻量重要在前)
   */
  methods: MySearch.methods,
}
</script>
